package cn.deepxi.org.service;

import cn.deepxi.org.domain.Employee;
import cn.deepxi.org.domain.Employee;
import cn.deepxi.org.query.EmployeeQuery;
import cn.deepxi.utils.QueryResult;


import java.util.List;

public interface IEmployeeService {

//查询所有的职员
    List<Employee> loadAll();
    //基础查询
    void save(Employee d);

    void remove(Long id);

    void update(Employee d);

    Employee loadById(Long id );

    //高级查询和分页
    QueryResult<Employee> queryPage(EmployeeQuery query);

    void batchRemove(Long[] ids);



}
